package com.gimi.cloud.jimi.task;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication
@EnableScheduling
@EntityScan("com.gimi.cloud.jimi.entity")
@MapperScan("com.gimi.cloud.jimi.dao.dao")
@ComponentScan({"com.gimi.cloud.jimi.task","com.gimi.cloud.jimi.dao.mybatis","com.gimi.cloud.jimi.dao.redis","com.gimi.cloud.jimi.commonService"})
public class EurekaTaskApplication {
    public static void main(String[] args) {
        SpringApplication.run(EurekaTaskApplication.class, args);
    }
}